<?php !defined('DYHB_PATH') && exit; /* DoYouHaoBaby Framework 模板缓存文件 生成时间：2011-05-28 17:41:36  */ ?>
<?php $this->includeChildTemplate( "".APP_PATH."/Tpl/Default/public_header.html" ,"" ,"" ,"" )  ;?>

<script type="text/javascript">
<!--
function add(){
	Dyhb.AjaxSubmit('domainAdd','<?php echo( G::U('domain/insert') );?>','',complete);
}
function complete(data,status){
    if(status==1){

        window.setTimeout(function (){window.location.href=URL,20000});
    }
}
-->
</script>

   <!-- 标题  -->
   <div class="title"><?php print G::L( "添加域名解析", null, null ) ; ?> ( <a href="<?php echo( G::U('domain/index') );?>"><?php print G::L( "返回域名解析列表", null, null ) ; ?></a> )</div>

  <!-- 正文 -->
  <div id="content" class="content">

    <form  method="post" id="domainAdd" name="domainAdd">
    <div id="tab_addbadword">
      <table class="form-table full">
          <tr>
            <th valign="top"><label for="domain_name"><?php print G::L( "域名", null, null ) ; ?>:</label></th>
            <td><input type="text" name="domain_name" id="domain_name" class="field" size="40" value=""/>
            <div class="description"><?php print G::L( "请添加你的域名", null, null ) ; ?></div></td>
          </tr>
          <tr>
            <th valign="top"><label for="domain_ip"><?php print G::L( "IP地址", null, null ) ; ?>:</label></th>
            <td><input type="text" name="domain_ip" id="domain_ip" class="field" size="40"  value=""/>
            <div class="description"><?php print G::L( "IP格式不能填错误，如22.222.222.22", null, null ) ; ?></div>
            </td>
          </tr>
      </table>
       <p class="center"><input type="hidden" name="ajax" value="1">
            <input type="button" onclick="add()"  class="button" value=" <?php print G::L( "添加域名解析", null, null ) ; ?> " />
            <input type="reset" class="button" value="  <?php print G::L( "重  置", null, null ) ; ?>  " />
        </p>
   </div>
   </form>

   </div>
   <!-- end content -->

<?php $this->includeChildTemplate( "".APP_PATH."/Tpl/Default/public_footer.html" ,"" ,"" ,"" )  ;?>